package com.mengfx.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mengfx.bean.Product;

public interface ProductMapper extends BaseMapper<Product>{
	int getProductCount();
	List<Product> getProductByPage(@Param("page")int page,@Param("size")int size,@Param("pt")String pt);
	Product getProduct(Long productId);
	List<Product> searchProductByName(@Param("name")String name);
}